package de.tudarmstadt.ukp.muip.fibqdojo;

import de.tudarmstadt.ukp.muip.fibqdojo.interfaces.IFIBQMatchMode;

/**
 * Compares two strings on overlap by using the
 * <code>String.startsWith(String b)</code> of the Java-String class.
 * 
 * @author Tobias Horsmann
 */
public class StartsWithMatchMode implements IFIBQMatchMode {

    @Override
    public boolean match(String a, String b) {
        return a.startsWith(b);
    }

}
